<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      th:replace="fragments/layout(title='菜谱管理-列表',jsPaths='/static/js/food/menu/list.js')">
    <div class="right" th:fragment="right">
        <!--面包屑-->
        <div class="breadcrumb layui-bg-gray">
            <span class="layui-breadcrumb" lay-separator=">">
                <a th:href="@{/}">首页</a>
                <a href="/foodManage">菜谱管理</a>
                <a href="/foodManage">菜谱管理</a>
                <a>
                    <cite>列表</cite>
                </a>
            </span>
        </div>
        <!--主体内容区-->
        <div class="page-content">
            <div class="layui-btn-group">
                <a href="/foodManage/add" class="layui-btn layui-btn-normal" auth="cpgl-cpgl-add">新增</a>
                <a href="javascript:void(0)" class="layui-btn layui-btn-danger" auth="cpgl-cpgl-delete"
                   id="deleteAll">
                    批量删除
                </a>
            </div>
            <div class="layui-input-inline">
                <input type="text" name="startDate" id="startDate" placeholder="开始日期" autocomplete="off"
                       class="layui-input ">
            </div>
            --
            <div class="layui-input-inline">
                <input type="text" name="endDate" id="endDate" placeholder="结束日期" autocomplete="off"
                       class="layui-input ">
            </div>
            <div class="layui-input-inline">
                <a href="javascript:void(0)" class="layui-btn" id="exportExcel">导出菜谱</a>
                <a href="javascript:void(0)" class="layui-btn" id="exportPdf">导出PDF</a>
            </div>
            <table id="demo" lay-filter="test"></table>
        </div>
        <script type="text/html" id="toolbar">
            <a href="javascript:void(0)" class="layui-btn layui-btn-warm layui-btn-xs" lay-event="edit"
               auth="cpgl-cpgl-edit">编辑
            </a>
            <a href="javascript:void(0)" class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete"
               auth="cpgl-cpgl-delete">删除
            </a>
        </script>
    </div>
</html>